package sourcecode.executors.rejectHandle;

import com.code.executors.MyThreadPool;

public class ThrowRejectHandle implements MyRejectHandle{

    @Override
    public void reject(Runnable rejectCommand, MyThreadPool threadPool) {
        throw new RuntimeException("阻塞队列满了");
    }
}

